package com.powernode.config;

import com.powernode.constant.QueueConstant;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 内容:
 * 作者: cy
 */
@Configuration
public class SendQueueConfig {

    @Bean
    public Queue phoneQueue() {
        return new Queue(QueueConstant.PHONE_SEND_QUEUE);
    }


    @Bean
    public Queue wxQueue() {
        return new Queue(QueueConstant.WX_SEND_QUEUE);
    }

}
